@extends('common.base-master')

@section('html-head')
    <link rel="stylesheet" href="{{url('css/style.css')}}">
    <link rel="stylesheet" href="{{url('css/common.css')}}">
    <link rel="stylesheet" href="{{url('css/public.css')}}">
    <style>
        body{
            background-color: #f3f3f3;
        }
    </style>
@endsection

@section('html-body')
    {{--<form action="" id="form-data">--}}
    <div>
        {{--<div class="weui-cells__title">原手机</div>--}}
        {{--<div class="weui-cells">--}}
        {{--<div class="weui-cell right_15--before">--}}
        {{--<div class="weui-cell__hd">--}}
        {{--<div class="weui-label input-label">号码：</div>--}}
        {{--</div>--}}
        {{--<div class="weui-cell__bd">--}}
        {{--<input type="tel" name="oldphone" class="weui-input" placeholder="请输入原手机号码">--}}
        {{--</div>--}}
        {{--</div>--}}
        {{--</div>--}}
        <div>欢迎注册</div>
        <div class="weui-cells">
            <div class="weui-cell weui-cell_vcode right_15--before">
                <div class="weui-cell__hd">
                    <div class="weui-label input-label">手机号：</div>
                </div>
                <div class="weui-cell__bd">
                    <input type="tel" name="newphone" class="weui-input" placeholder="请输入新手机号码">
                </div>
                <div class="weui-cell__ft">
                    <button type="button" class="weui-vcode-btn" id="jcode" onclick="checkPhone();">获取验证码</button>
                </div>
            </div>
            <div class="weui-cell right_15--before">
                <div class="weui-cell__hd">
                    <label class="weui-label input-label">验证码：</label>
                </div>
                <div class="weui-cell__bd">
                    <input name="code" class="weui-input" type="text" placeholder="请输入手机短信验证码">
                </div>
            </div>
        </div>
        <!-- 按钮 -->
        <div class="demos-content-padded margin-t_20">
            <a href="javascript:;" onclick="getMsg()" class="weui-btn bg-color__theme font-color_white bg-color__theme--active">登录</a>
        </div>


    </div>
    {{--</form>--}}
    <script>
        $(function () {
            function is_weixn(){
                var ua = navigator.userAgent.toLowerCase();
                if(ua.match(/MicroMessenger/i)=="micromessenger") {
                    return true;
                } else {
                    return false;
                }
            }
        });
    </script>
@endsection